<!DOCTYPE html>
<html>
    <head>
        <title>Preview Display</title>
        <meta charset="UTF-8">
        <link rel="shortcut icon" href="custom/images/favicon.ico?v=2" />
        <style>
            html, body {
                padding: 0px;
                margin: 0px;
            }
        </style>
        <script src='../configs/htconfig.js'></script>
        <script src='../libs/echarts.js'></script>
        <script src='../libs/core/IZrowIfUVaXF.js'></script>
        <script src='../libs/core/VT3MIEkV8AKv.js'></script>
        <script src='../libs/core/ht.js'></script>
        <script src='../libs/core/buckle.js'></script>
        <script src='../libs/plugin/ht-edgetype.js'></script>
        <script src="../libs/plugin/ht-obj.js"></script>
        <script src='../libs/core/ht-ui.js'></script>
        <script src='../libs/plugin/ht-form.js'></script>
        <script src='../libs/plugin/ht-vector.js'></script>
        <!-- <script src='../custom/configs/htconfig.js'></script>
        <script src='../custom/libs/echarts.js'></script>
        <script src='../libs/ht.js'></script>
        <script src='../libs/ht-edgetype.js'></script>
        <script src='../libs/ht-obj.js'></script>
        <script src='../libs/ht-ui.js'></script>
        <script src='../libs/ht-vector.js'></script> -->

        <script>
            function init() {
                dataModel = new ht.DataModel();
                graphView = new ht.graph.GraphView(dataModel);
                graphView.addToDOM();

                ht.Default.xhrLoad('displays/冀北/台账/型号库.json', function(text) {
                    var json = ht.Default.parse(text);
                    if(json.title) document.title = json.title;
                    dataModel.deserialize(json);
                    graphView.fitContent(true);
                });
            }
        </script>
    </head>
    <body onload='setTimeout(init, 300)'>
    </body>
</html>
